


<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>

<script>
    class People{
        constructor(name,weight,height){
            this.name=name;
            this.weight=weight;
            this.height=height;
        }

        Say(){
            console.log(this.name+"nihao");
        }
    }

    let le=new People("le",98,168);
    console.log(le);
    le.Say();
</script>
</html>